package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchoolDemo {
    public static void main(String[] args) {
        //创建School对象
        School s=new School();
        s.name="安徽工业大学";
        s.address="淮南";
        s.classrooms=32;
        s.labs=19;
        System.out.println("这个学校叫："+s.name);
        //调用方法
        s.show();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>");
        s.labs++;
        s.address="合肥西子湖畔-天鹅湖畔";
        s.show();
    }
}
